Skip to content

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

protected override ValueTask OnCompletedAsyncCore(ImmutableArray<IObserverAsync<T>> observers, Result result)

View source

Inherited documentation

These docs were inherited from BaseStatelessReplayLastSubjectAsync<T>. The member doesn't override them on this type.

Summary: Invoked to asynchronously notify all observers that the sequence has completed, providing the final result.

Parameters

NameTypeDescription
observersImmutableArray>The collection of observers to be notified of the sequence completion. Cannot be null.
result[Result](#The result to provide to observers upon completion. Represents the outcome of the observed sequence.

Returns: ValueTask -- A ValueTask that represents the asynchronous notification operation.

Remarks

This method is called when the observed sequence has finished processing. Implementations should ensure that all observers are notified according to the completion semantics of the sequence. This method is intended to be overridden in derived classes to customize completion behavior.